<template>
  <div class="downloadMask cf"  v-if="advShow">
    <img src="../../static/img/error.png" class="delete" @click="del">
    <i class="fl"></i>
    <img src="../../static/img/yxcdown.png" alt="" class="fl"/>
    <div class="fl">
      <p>游戏虫APP下载</p>
      <p>玩游戏不花钱，也能挣钱！</p>
    </div>
    <a href="" class="downBtn fr" download>免费下载</a>
  </div>
</template>

<script>
export default {
  name: 'bootMask',
  props: [ 'childMsg' ],
  data () {
    return {
      msg: '',
      advShow: true,
    }
  },
  methods: {
    toDetail (id) {
      this.$router.push({path: '/detail', query: { userId: id }})
    },
    del () {
      this.advShow = false;
    }
  },
  mounted: function () {
  }
}
</script>
<style scoped>
  .delete{
    position: absolute;
    left: -26px;
    top: 34px;
    width: 50px;
    height: 50px;
  }
</style>
